/*声明混合函数*/
/*设置元素的宽度等于当前页面的宽度*/
/*设置文字垂直居中 */
/*设置图片为块级元素，并且宽度为100%*/
/*给图片占位置用的函数*/
#tarvel {
  font-size: 14px;
  margin-bottom: 0.5rem;
}
#tarvel .travel-header {
  background-color: rgba(0, 0, 0, 0.4);
}
#tarvel #tarvel-content {
  max-width: 750px;
  margin: 0 auto;
}
#tarvel #tarvel-content .swiper-container {
  height: 0;
  padding-bottom: 60.26666667%;
  background-color: #f9f9f9;
}
#tarvel #tarvel-content .classifying {
  width: 3.75rem;
  margin: 0 auto;
  height: 1.06rem;
  display: flex;
  justify-content: space-evenly;
  align-items: center;
}
#tarvel #tarvel-content .classifying a {
  color: black;
  text-align: center;
}
#tarvel #tarvel-content .classifying a div:first-child {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background-color: #4ca8f5;
  padding: 0.065rem;
}
#tarvel #tarvel-content .classifying a div:first-child img {
  display: block;
  width: 100%;
}
#tarvel #tarvel-content .classifying a div:last-child {
  margin-top: 0.05rem;
}
#tarvel #tarvel-content .classifying a:nth-child(2) div:first-child {
  background-color: #ff9f26;
}
#tarvel #tarvel-content .classifying a:nth-child(3) div:first-child {
  background-color: #f75232;
}
#tarvel #tarvel-content .classifying a:nth-child(4) div:first-child {
  background-color: #96ea3c;
}
#tarvel #tarvel-content .img-ad {
  height: 3.0758rem;
  width: 3.75rem;
  margin: 0 auto;
  border: 0.015rem solid #cecece;
  margin-bottom: 0.18rem;
}
#tarvel #tarvel-content .img-ad .pic {
  width: 2.24rem;
  height: 1.5379rem;
  float: left;
  position: relative;
  background-color: #f9f9f9;
  overflow: hidden;
}
#tarvel #tarvel-content .img-ad .pic::before {
  content: '';
  display: block;
  position: absolute;
  top: 0;
  right: 0;
  width: 0.355rem;
  height: 0.355rem;
  background: url("../images/icon/sprites.png") no-repeat;
  background-size: 3.75rem auto;
  background-position: -2.52rem -3.57rem;
}
#tarvel #tarvel-content .img-ad .pic:nth-child(1) {
  border-bottom: 0.03rem solid #cecece;
}
#tarvel #tarvel-content .img-ad .pic:nth-child(2) {
  width: 1.48rem;
  border: 0.03rem solid #cecece;
  border-top: 0;
  border-right: 0;
}
#tarvel #tarvel-content .img-ad .pic:nth-child(3) {
  width: 1.48rem;
  border-right: 0.03rem solid #cecece;
}
#tarvel #tarvel-content .img-ad .pic a {
  display: block;
  height: 100%;
}
#tarvel #tarvel-content .img-ad .pic a img {
  display: block;
  width: 100%;
}
#tarvel #tarvel-content .sale .title {
  height: 0.3rem;
  line-height: 0.3rem;
  color: #4ca8f5;
  font-weight: normal;
  letter-spacing: 0.03rem;
}
#tarvel #tarvel-content .sale .title img {
  vertical-align: middle;
  height: 0.15rem;
}
#tarvel #tarvel-content .sale .title i {
  background-position: -2.32rem -1.25rem;
  top: 0;
}
#tarvel .tabbar a:nth-child(1) {
  color: blue;
}
